﻿using System.Data.Entity.ModelConfiguration;

namespace lindyaka.Domain.Configurations
{
    public class UserAccount : EntityTypeConfiguration<Entities.UserAccount>
    {
        public UserAccount()
        {
            HasKey(userAccount => userAccount.UserAccountId);

            /* Property(userAccount => userAccount.Email).IsRequired();
            Property(userAccount => userAccount.Password).IsRequired(); */
            /* Property(userAccount => userAccount.Registered).HasColumnType("datetime2");
            Property(userAccount => userAccount.LastLoggedIn).HasColumnType("datetime2"); */
        }
    }
}